;------------------------------------------------------------------------------------------------
[wpn_spas12]:identity_immunities,weapon_probability,default_weapon_params,wpn_spas12_sounds
        GroupControlSection         = spawn_group
        $npc                        = on
        $prefetch                   = 8
        $spawn                      = "weapons\spas12"
        scheduled                   = off
        cform                       = skeleton
        
        class                       = WP_ASHTG
        slot                        = 2
        animation_slot              = 9
        ef_main_weapon_type         = 1
        ef_weapon_type              = 9
        hand_dependence             = 1
        single_handed               = 0
        
        inv_grid_height             = 2
        inv_grid_width              = 5
        inv_grid_x                  = 40
        inv_grid_y                  = 0
        inv_name                    = st_wpn_spas12
        inv_name_short              = st_wpn_spas12
        description                 = st_wpn_spas12_descr
        
        kind                        = w_shotgun
        inv_weight                  = 4.13
        cost                        = 29390
        repair_type                 = shotgun
        weapon_class                = shotgun
        
        hud                         = wpn_spas12_hud
        visual                      = dynamics\weapons\wpn_spas12\wpn_spas12.ogf
        position                    = -0.024, -0.081, 0.
        orientation                 = 0, 0, 0
        fire_point                  = 0.0, 0.133, 0.686
        fire_point2                 = 0.0, 0.103, 0.686
        strap_bone0                 = bip01_spine2
        strap_bone1                 = bip01_spine1
        strap_position              = -0.26, -0.10, 0.05
        strap_orientation           = -15, -9, 110
        ph_mass                     = 3
        
        flame_particles             = weapons\generic_weapon05
        smoke_particles             = amik\weapons\smoke_particles\smoke_particles_pump_01
        
		shell_point                 = 0.0, 0.138, 0.07
		;shell_particles			= weapons\12ga

        light_color                 = 0.6, 0.5, 0.3
        light_range                 = 6.0
        light_time                  = 0.2
        light_var_color             = 0.05
        light_var_range             = 0.5
        
        upgrades                    = up_gr_firstab_spas12, up_gr_seconab_spas12, up_gr_thirdab_spas12, up_gr_fourtab_spas12
        installed_upgrades          =
        upgrade_scheme              = upgrade_scheme_spas12
        upgr_icon_x                 = 1450
        upgr_icon_y                 = 450
        upgr_icon_width             = 300
        upgr_icon_height            = 100
        
        tri_state_reload            = on
        fire_modes                  = 1, -1
        ammo_class                  = ammo_12x70_buck, ammo_12x70_buck_bad, ammo_12x70_buck_verybad, ammo_12x76_zhekan, ammo_12x76_zhekan_bad, ammo_12x76_zhekan_verybad, ammo_12x76_dart, ammo_12x76_dart_bad, ammo_12x76_dart_verybad, ammo_12x70_buck_self
        ammo_elapsed                = 8
        ammo_mag_size               = 8
        startup_ammo                = 10
        
        scope_status                = 0
        scope_zoom_factor           = 0
        
        silencer_status             = 0
        
        grenade_launcher_status     = 0
        
        hit_impulse                 = 40
        hit_power                   = 0.79, 0.79, 0.79, 0.79
        hit_type                    = fire_wound
        fire_distance               = 300
        bullet_speed                = 340
        rpm                         = 115
        rpm_empty_click             = 200
        
        zoom_dof                    = 0.5, 1.0, 180
        zoom_enabled                = true
control_inertion_factor = 1.0f
        crosshair_inertion          = 6.9
        fire_dispersion_base        = 0.48
        fire_dispersion_condition_factor = 0.001
        
        misfire_probability         = 0.005
        misfire_start_condition     = 0.7 ;  0.80
        misfire_start_prob          = 0.007
        misfire_end_condition       = 0.1
        misfire_end_prob            = 0.11
        
        condition_queue_shot_dec    = 0.0022
        condition_shot_dec          = 0.0022
        
        cam_return                  = 0
        cam_relax_speed             = 20
        cam_dispersion              = 7.88
        cam_dispersion_frac         = 1.1
        cam_dispersion_inc          = 0.0
        cam_max_angle               = 50.0
        cam_max_angle_horz          = 50.0
        cam_step_angle_horz         = 2.77
        zoom_cam_relax_speed        = 16
        zoom_cam_dispersion         = 6.03
        zoom_cam_dispersion_frac    = 0.7
        zoom_cam_dispersion_inc     = 0.0
        zoom_cam_max_angle          = 50.0
        zoom_cam_max_angle_horz     = 50.0
        zoom_cam_step_angle_horz    = 2.61
        
        PDM_disp_accel_factor       = 1.755
        PDM_disp_base               = 1.7
        PDM_disp_crouch             = 1.0
        PDM_disp_crouch_no_acc      = 1.0
        PDM_disp_vel_factor         = 1.75
        
        cam_relax_speed_ai          = 360
        zoom_cam_relax_speed_ai     = 120.75
        holder_fov_modifier         = 1.0
        holder_range_modifier       = 1.0
        min_radius                  = 0
        max_radius                  = 500
        hit_probability_gd_novice   = 1.00
        hit_probability_gd_stalker  = 1.00
        hit_probability_gd_veteran  = 1.00
        hit_probability_gd_master   = 1.00
        
        kill_msg_x                  = 91
        kill_msg_y                  = 104
        kill_msg_width              = 80
        kill_msg_height             = 20
 

[wpn_spas12_hud]:hud_base
        item_visual                 = anomaly_weapons\wpn_spas12\wpn_spas12_hud.ogf
        attach_place_idx            = 0
        zoom_hide_crosshair         = true
        
        item_position               = 0, 0, 0
        item_orientation            = 0, 0, 0
        
        hands_position              = 0.02, -0.18, 0.15
        hands_position_16x9         = 0.02, -0.18, 0.15
        hands_orientation           = 0, 0, 0
        hands_orientation_16x9      = 0, 0, 0
        
        aim_hud_offset_pos          = -0.08023, 0.0417, -0.25
        aim_hud_offset_pos_16x9     = -0.08023, 0.0417, -0.25
        aim_hud_offset_rot          = -0.0107, 0.00012, 0.0
        aim_hud_offset_rot_16x9     = -0.0107, 0.00012, 0.0
        
        anm_add_cartridge           = spas12_reload, reload
        anm_close                   = spas12_reload_end, reload_end
        anm_hide                    = spas12_holster
        anm_idle                    = spas12_idle
        anm_idle_aim                = spas12_aim
        anm_idle_aim_moving         = spas12_move, idle, 0.75
        anm_idle_aim_moving_crouch  = spas12_move, idle, 0.7
        anm_idle_moving             = spas12_move
        anm_idle_sprint             = spas12_sprint
        anm_open                    = spas12_reload_start, reload_start
        anm_shots                   = spas12_shoot
        anm_show                    = spas12_draw
        
        shell_bone                  = gilza2
        shell_dir                   = 0.0, 1.0, 0.0
        shell_point                 = 0, 0, 0
        
        fire_bone                   = muzzle
        fire_point                  = 0, 0, 0
 
		freelook_z_offset_mul		= 0.8
 
;------------------------------------------------------------------------------------------------
[wpn_spas12_custom]:wpn_spas12
        inv_grid_x                  = 40
        inv_grid_y                  = 2
        inv_name                    = st_wpn_spas12_custom
        inv_name_short              = st_wpn_spas12_custom
        
        cost                        = 32580
        
        hud                         = wpn_spas12_sk1_hud
        visual                      = dynamics\weapons\wpn_spas12\wpn_spas12_sk1.ogf
        
        installed_upgrades          = up_secona_spas12
        
        rpm                         = 130
        
        fire_dispersion_base        = 0.45
        
        misfire_start_condition     = 0.7 ;  0.76
        misfire_start_prob          = 0.003
        misfire_end_condition       = 0.09
        misfire_end_prob            = 0.02
        
        condition_queue_shot_dec    = 0.00225
        condition_shot_dec          = 0.00225
 

[wpn_spas12_sk1_hud]:wpn_spas12_hud
        item_visual                 = anomaly_weapons\wpn_spas12\wpn_spas12_sk1_hud.ogf
 
;------------------------------------------------------------------------------------------------
[wpn_spas12_nimble]:wpn_spas12
        $spawn                      = "weapons\wpn_spas12_nimble"
        
        inv_grid_x                  = 40
        inv_grid_y                  = 8
        inv_name                    = st_wpn_spas12_nimble
        inv_name_short              = st_wpn_spas12_nimble
        description                 = st_wpn_spas12_nimble_descr
        
        cost                        = 34860
        
        hud                         = wpn_spas12_nimble_hud
        visual                      = dynamics\weapons\wpn_spas12\wpn_spas12_nimble.ogf
        
        hit_power                   = 0.83, 0.83, 0.83, 0.83
        bullet_speed                = 350
        
        fire_dispersion_base        = 0.43
        
        misfire_start_condition     = 0.7 ;  0.73
        misfire_start_prob          = 0.003
        misfire_end_condition       = 0.08
        misfire_end_prob            = 0.02
        
        condition_queue_shot_dec    = 0.0024
        condition_shot_dec          = 0.0024
 

[wpn_spas12_nimble_hud]:wpn_spas12_hud
        item_visual                 = anomaly_weapons\wpn_spas12\wpn_spas12_nimble_hud.ogf
 
